Add support for Holux M-1200E.
authorrobertlipe@gmail.com <robertlipe@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 2 Oct 2011 18:09:11 +0000 (18:09 +0000)
committerrobertlipe@gmail.com <robertlipe@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 2 Oct 2011 18:09:11 +0000 (18:09 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4092 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/mtk_logger.c

index b59db95748805b26d1d8dd01bcca27b5af8cc229..37e948485fb36befb38bf4712241e7b616bb15cd 100644 (file)
@@ -1543,6 +1543,12 @@ static void file_read(void)
           holux245_init();
         }
 
+        // Tobias Verbree reports that an M-12ee is like a 245.
+        if (memcmp(&buf[i], "HOLUXM1200", 10) == 0) {
+           dbg(2, "Detected Holux HOLUXM1200 !\n");
+           holux245_init();
+        }
+
         // skip the 4 spaces that may occur on every device
         if (memcmp(&buf[i+16], "    ", 4) == 0) {  // Assume loglen >= 20...
           k += 4;